<script language="javascript" src="__FINANCE__/Scripts/jQuery.print.js"></script>
<div class="layui-form" id="print_view" style="padding: 30px">
    <table class="layui-table">
        <colgroup>
            <col width="10%">
            <col width="90%">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th colspan="2" style="text-align: center"><h2>新乡市信创打印机耗材采购结算签收单</h2></th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-md9">
                            采购单位名称：{$order_data['customer_unit']}
                        </div>
                    </div>
                    <div class="layui-row" style="padding-bottom: 0">
                        <div class="layui-col-md9">
                            采购货物需求、技术规格及供应商分项价格如下：
                            <span style="float: right">  单位：人民币元</span>
                        </div>
                    </div>
                </div>

            </td>
        </tr>
        <tr>
            <td colspan="2">
                <table class="layui-table">
                    <colgroup>
                        <col width="60">
                        <col width="200">
                        <col width="130">
                        <col width="100">
                        <col width="100">
                        <col width="100">
                        <col width="30">
                        <col width="100">
                        <col width="200">
                        <col>
                    </colgroup>
                    <thead>
                    <tr>
                        <th width="100" style="text-align: center;">序号</th>
                        <th width="150" style="text-align: center;">货物名称</th>
                        <th width="150" style="text-align: center;">型号</th>
                        <th style="text-align: center;">打印页数</th>
                        <th style="text-align: center;">单位</th>
                        <th style="text-align: center;">单价</th>
                        <th width="100">数量</th>
                        <th style="text-align: center;">小计</th>
                        <th style="text-align: center;width: 50px">免费保质期</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="order_goods_list" id="data" key="i"}
                    <tr>
                        <td style="text-align: center;">
                            {$i}
                        </td>
                        <td style="text-align: center;">
                            {$data.goods_name}耗材
                        </td>
                        <td style="text-align: center;">{$data.goods_type}</td>
                        <td style="text-align: center;">{$data.page_num}</td>
                        <td style="text-align: center;">支</td>
                        <td style="text-align: center;">{$data.goods_price}</td>
                        <td style="text-align: center;">{$data.buy_total}</td>
                        <td style="text-align: center;">{$data.price_total}</td>
                        <td style="text-align: center;">3年</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">
                    <!--<p>报价金额合计（人民币）大写：    {:getChineseNumber($order_data['pay_price'])}   （小写：   {$order_data.pay_price}           ）</p>-->
                    <div class="layui-row">
                        <div class="layui-col-xs6">
                            <div>报价金额合计（人民币）大写：{:getChineseNumber($order_data['pay_price'])}</div>
                        </div>
                        <div class="layui-col-xs6">
                            <div>（小写： <span style="margin-left: 30px">{$order_data.pay_price}</span> ）</div>
                        </div>
                    </div>
                </div>

            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">


                </div>
                <div class="">
                    <div class="layui-col-xs6">
                        <div>
                            <p>供 应 商：河南欧骥网络科技有限公司</p>
                            <p>开 户 行：中国银行股份有限公司新乡国贸支行</p>
                            <p>帐&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号： 246869877111</p>
                        </div>
                    </div>
                    <div class="layui-col-xs6">
                        <div style="line-height: 60px"><p>发货人签字：______________________</p></div>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">


                </div>
                <div class="">
                    <div class="layui-col-xs6">
                        <div>
                            <div style="line-height: 60px"><p>采购单位签收人：______________________</p></div>
                        </div>
                    </div>
                    <div class="layui-col-xs6">
                        <div style="line-height: 60px"><p>签收时间： _________年_________月_________日</p></div>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div class="layui-form-item">
                    <p>日期： <span style="text-decoration:underline">{:date('Y')}</span>年<span style="text-decoration:underline">{:date('m')}</span>月<span style="text-decoration:underline">{:date('d')}</span>日</p>
                </div>
            </td>
        </tr>
        </tbody>
    </table>
</div>
<div class="layui-form-item">
    <div class="layui-input-block" style="text-align: center">
        <button type="submit" class="layui-btn" onclick="jQuery('#print_view').print()">打印</button>
    </div>
</div>
